home *** CD-ROM | disk | FTP | other *** search
- #define CURSES_LIBRARY 1
- #include <curses.h>
-
- #ifndef NDEBUG
- char *rcsid__gname = "$Header: C:\CURSES\flexos\RCS\_gname.c 2.1 1993/06/18 20:23:59 MH Rel MH $";
- #endif
-
-
-
-
- #ifdef FLEXOS
- VIRCON vir; /* Allocate a Virtual Console Structure */
-
- /*man-start*********************************************************************
-
- _flexos_gname() - FLEXOS: Return virtual console name
-
- PDCurses Description:
- This is a Flexos platform PDCurses function.
-
- This routine returns the name of the Flexos virtual console.
- The VIRCON vir structure is initialized within the initscr()
- calltree.
-
- PDCurses Return Value:
- This routine returns a character pointer.
-
- PDCurses Errors:
- No errors are defined for this routine.
-
- Portability:
- PDCurses char* _flexos_gname( void );
-
- **man-end**********************************************************************/
-
- char* _flexos_gname(void)
- {
- return (&vir.vc_wname[0]);
- }
- #endif
-